ci: Add unit case for --enable-experimental-api
authorColin Walters <walters@verbum.org>
Fri, 19 May 2017 14:39:48 +0000 (10:39 -0400)
committerAtomic Bot <atomic-devel@projectatomic.io>
Fri, 19 May 2017 15:02:00 +0000 (15:02 +0000)
We're starting to get a lot of contexts, and this is likely going to drive some
requirements for consolidation and improvements like not testing *every* context
on every PR, etc.

But for now since experimental is new, and under development, let's test it.

Closes: #875
Approved by: cgwalters

.redhat-ci.yml

index 97bbcf87ba6ca07a5eb113605defc685bdfe90ff..cc02f75e227a1fb1f29734e2ebb463fd8df6fc7e 100644 (file)
@@ -76,6 +76,30 @@ env:
 tests:
     - make check TESTS=tests/test-rollsum
 
+artifacts:
+  - test-suite.log
+---
+
+inherit: true
+
+context: f25-experimental-api
+
+build:
+    config-opts: >
+      --prefix=/usr
+      --libdir=/usr/lib64
+      --enable-gtk-doc
+      --enable-experimental-api
+
+env:
+    CC: 'gcc'
+
+tests:
+    - make check
+    - /bin/sh -c 'gnome-desktop-testing-runner -p 0 --timeout $((10 * 60)) libostree/'
+
+artifacts:
+  - test-suite.log
 ---
 
 inherit: true